package com.item.service;


import com.item.domain.Goods;
import com.item.domain.GoodsCategoryName;
import com.item.po.GoodsPo;

import java.util.List;

public interface GoodsListService {
    List<GoodsPo> findAll(int limit, int page, GoodsPo goods);

    int add(GoodsPo goods);

    int update(GoodsPo goods);

    int delete(int id);

    GoodsPo findId(int id);

    List<GoodsCategoryName> goodsCategoryNameList();

    int goodsCategoryAdd(GoodsCategoryName categoryName);

    int goodsCategoryUpdate(GoodsCategoryName goodsCategoryName);

    int goodsTestUpdate();

    int reqUpdateShelves(GoodsPo goods);
}
